package com.tansun.easycare.rule.scoremodel.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.tansun.easycare.rule.common.service.impl.RuleBaseServiceImpl;
import com.tansun.easycare.rule.scoremodel.dao.RuleScoreInfoDao;
import com.tansun.easycare.rule.scoremodel.entity.RuleScoreInfo;
import com.tansun.easycare.rule.scoremodel.service.RuleScoreInfoService;

/**
 * 评分模型指标明细ServiceImpl
 *
 * @author lph
 * @version 2017-03-23
 */
@Service("ruleScoreInfoService")
public class RuleScoreInfoServiceImpl extends RuleBaseServiceImpl<RuleScoreInfoDao, RuleScoreInfo> implements RuleScoreInfoService {

    public RuleScoreInfo get(String id) {
        return super.get(id);
    }

    public List<RuleScoreInfo> findList(RuleScoreInfo ruleScoreInfo) {
        return super.findList(ruleScoreInfo);
    }

    public PageInfo<RuleScoreInfo> findPage(Page<RuleScoreInfo> page, RuleScoreInfo ruleScoreInfo) {
        return super.findPage(page, ruleScoreInfo);
    }

    public void save(RuleScoreInfo ruleScoreInfo) {
        super.save(ruleScoreInfo);
    }

    public void delete(RuleScoreInfo ruleScoreInfo) {
        super.delete(ruleScoreInfo);
    }

	@Override
	public void deleteByMutilVersion(Map<String, Object> map) {
		this.dao.deleteByMutilVersion(map);
	}

}